<%--
    Document   : index
    Created on : 07/08/2010, 07:24:17
    Author     : alunoinf
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Cadastrar Imovel</title>
    </head>
    <body background="imagens/Back_2.jpg">
        <div id="geral">
            <div id="header">
                <jsp:include page="header.jsp" />
            </div>
            <p>
            <div id="body">
        <jsp:useBean id="imovel" scope="session" class="model.Imovel" />
        <form action="ImobiliariaServlet?cmd=cadastrarImovel" method="post">
        <table style="text-align: left; width: 80%;" align="center" border="0" cellpadding="2" cellspacing="2" bgcolor="#EEC591">

            <tbody><tr><td style="text-align: right"><h1>Cadastro de Imóvel</h1></td></tr>
            <tr>
                <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460">
                    Finalidade:</td>
                <td style="vertical-align: top; text-align: center;" colspan="2">
                    <input type="radio" name="tipoNegocio" id="venda" value="venda"><label for="venda">Venda</label>
                </td>
            </tr>
            <tr><td></td>
                <td style="vertical-align: top; text-align: center;">
                    <input type="radio" name="tipoNegocio" id="aluguel" value="aluguel"><label for="aluguel">Aluguel</label>
                </td>
            </tr>
            
            <tr></tr>
            <tr>
                <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460">
                    Tipo de Imóvel:</td>
                <td style="vertical-align: top; text-align: center;">
                    <input type="radio" name="tipoImovel" id="casa" value="casa"><label for="casa">Casa</label>
                </td>
            </tr>
            <tr><td></td><td style="vertical-align: top; text-align: center;">
                    <input type="radio" name="tipoImovel" id="apt" value="apartamento"><label for="apt">Apartamento</label>
            </tr>
            <tr><td></td><td style="vertical-align: top; text-align: center;">
                    <input type="radio" name="tipoImovel" id="sob" value="sobrado"><label for="sob">Sobrado</label>
            </tr>
            <tr><td></td><td style="vertical-align: top; text-align: center;">
                    <input type="radio" name="tipoImovel" id="quit" value="quitinete"><label for="quit">Quitinete</label>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460">
                    Quantidade de Quartos:
                </td>
                <td style="vertical-align: top; text-align: center;">
                    <select name="quartos">
                        <option value="1">1</option>
                        <option value="2">2</option>
                        <option value="3">3</option>
                        <option value="4">4 ou Mais</option>
                        <option value="0" selected="selected">
                                Selecione nº de quartos
                    </option>
                </select>

                </td>
            </tr>
            <tr>
                        <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460"><label for="preco">Preco: </label></td>
                        <td style="vertical-align: top; text-align: center;"><input type="text" name="preco"></td>
            </tr>
            <tr>
                        <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460"><label for="vagas">Vagas: </label></td>
                        <td style="vertical-align: top; text-align: center;"><input type="text" name="vagas"></td>
            </tr>
            <tr>
                        <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460">
                            Situaçao:
                        </td>
                        <td style="vertical-align: top; text-align: center;">
                            <select name="situacao">
                                <option value="novo">Novo</option>
                                <option value="usado">Usado</option>
                                <option value="lancamento">Lancamento</option>
                                <option value="" selected="selected">
                                Selecione situação
                    </option>
                </select>

                </td>
            </tr>
            <tr>
                        <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460"><label for="andar">Andar: </label></td>
                        <td style="vertical-align: top; text-align: center;"><input type="text" name="andar"></td>
            </tr>
            <tr>
                        <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460"><label for="cpfprop">CPF do Proprietario: </label></td>
                        <td style="vertical-align: top; text-align: center;"><input type="text" name="cpfprop"></td>
            </tr>
            <tr>
                        <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460"><label for="rua">Rua: </label></td>
                        <td style="vertical-align: top; text-align: center;"><input type="text" name="rua"></td>
            </tr>
            <tr>
                        <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460"><label for="numero">Numero: </label></td>
                        <td style="vertical-align: top; text-align: center;"><input type="text" name="numero"></td>
            </tr>
            <tr>
                        <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460"><label for="comp">Complemento: </label></td>
                        <td style="vertical-align: top; text-align: center;"><input type="text" name="comp"></td>
            </tr>
            <tr>
                        <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460"><label for="bairro">Bairro: </label></td>
                        <td style="vertical-align: top; text-align: center;"><input type="text" name="bairro"></td>
            </tr>
            <tr>
                        <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460"><label for="cidade">Cidade: </label></td>
                        <td style="vertical-align: top; text-align: center;"><input type="text" name="cidade"></td>
            </tr>
            
            <tr>
                        <td style="vertical-align: top; text-align: center;" bgcolor="#F4A460"><label for="comentario">Comentarios adicionais: </label></td>
                        <td style="vertical-align: top; text-align: center;"><input type="text" name="comentario"></td>
            </tr>
            <tr>
                        <td style="vertical-align: top; text-align: right;"><input type="submit" value="Enviar"></td>
                        <td style="vertical-align: top; text-align: left;"><input type="reset" value="Limpar"></td>
            </tr>

            </tbody>
        </table>

        </form>
                </div>
        <p>
        <div id="footer">
            <jsp:include page="footer.jsp"/>
        </div>
        </div>
    </body>
</html>
